package org.kzwl.comm.pojo.bo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SaveCuVenuesBO {

    private Integer cuVenuesId;

    /**
     * 科室ID
     */
    private Integer cuVenuesCategoryId;

    /**
     * 标题
     */

    @NotEmpty(message = "标题不能为空")
    private String cuVenuesTitle;

    /**
     * 封面
     */
    @NotEmpty(message = "封面不能为空")
    private String cuVenuesImg;

    /**
     * 场馆地点
     */
    @NotEmpty(message = "场馆地点不能为空")
    private String cuVenuesAddress;

    /**
     * 容纳人数
     */
    @NotNull(message = "容纳人数量不能0")
    private Integer cuVenuesPeopleNumber = 0;

    /**
     * 电话
     */
//    @Pattern(regexp = "/^1(3|4|5|6|7|8|9)d{9}$/",message = "手机号格式不正确")
    @NotEmpty(message = "手机号不能为空")
    private String cuVenuesPhone;

    /**
     * 场地设施
     */
    @NotEmpty(message = "场地设施不能为空")
    private String cuVenuesFacilities;

    /**
     * 内容
     */
    @NotEmpty(message = "内容不能为空")
    private String cuVenuesContent;

    /**
     * 是否可预约 0是1否
     */
    private Integer cuVenuesIs = 1;


    /**
     * 开放时间
     */
    private LocalDateTime cuVenuesOpenDate;


    /**
     * 结束时间
     */
    private LocalDateTime cuVenuesEndDate;

    /**
     * 分类
     */
    private String cuVenuesCateg;

}
